import 'dart:async';

import 'package:event_bus/event_bus.dart';

class AppTimer{
  Timer _timer ;
  EventBus timerEvent = EventBus();
  initTimer(Duration duration){
    _timer = Timer.periodic(duration, (time){
      timerEvent.fire("");
    });
  }
}